#ifndef __CZWMAINGAMEMRG_H__
#define __CZWMAINGAMEMRG_H__

#include "CEGlobalDef.h"
#include "CZWMainGameData.h"

class CZWMainGameMrg
{
public:
	CZWMainGameMrg();
	~CZWMainGameMrg();

	void init(int x = DEFAULT_GAME_WIDTH, int y = DEFAULT_GAME_HEIGHT, int w = DEFAULT_GAME_ITEMWIDTH, int h = DEFAULT_GAME_ITEMWIDTH);
	void mainLoop();

	CZWITEMDATA* getItemByPoint(CCPoint pos);

	void ExchangeReq(CZWITEMDATA* pItem,int direction);

	CZWMainGameData* m_GameData;

	int m_eStata;

};

#endif // __HELLOWORLD_SCENE_H__
